﻿using ServiceStack.Web;
using System;
using System.Collections.Generic;
using Ymatou.User.Dto.Auth;
using YmtAuth.Dto;
namespace YmtAuth.AppService
{
    /// <summary>
    /// 运维风控管理
    /// </summary>
    public interface ILoginSafeAppService
    {
        /// <summary>
        /// 获取用户风控日志
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ResponseData<GetLoginSafeStatusResponseDto> GetLoginSafeStatus(GetLoginSafeStatusRequestDto dto, IRequest request = null);

        /// <summary>
        /// 更新用户指定IP区域认证状态为“已认证”
        /// </summary>     
        ResponseData<int> AuthIpAreaInfoSuccess(IpAreaAuthManageRequestDto dto, IRequest request = null);

        /// <summary>
        /// 更新用户的所有 设备/ClientId 认证状态为“已认证”
        /// </summary>     
        ResponseData<int> AuthUserDeviceSuccess(DeviceAuthManageRequestDto dto, IRequest request = null);
    }
}
